.landing-ui-field-position .landing-ui-field-input {
	display: flex;
	justify-content: center;
	height: auto;
	background: #F3F4F5;
	padding-top: 21px;
	padding-bottom: 15px;
}

.landing-ui-form-style .landing-ui-field-position .landing-ui-field-input {
	background: #ffffff;
	padding: 0;
}

.landing-ui-field-position-wrapper {
	display: flex;
	flex-grow: 1;
	align-self: center;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: #ffffff;
	padding: 12px;
	border: 2px rgba(82, 92, 105, .27) solid;
	border-radius: 4px;
	max-width: 242px;
}


.landing-ui-field-position .landing-ui-field-position-container {
	display: grid;
	grid-template-columns: auto auto auto;
	grid-template-rows: 44px 44px 44px;
	grid-column-gap: 6px;
	grid-row-gap: 6px;
	height: auto;
	width: 100%;
	border-radius: 4px;
	overflow: hidden;
}


.landing-ui-field-position .landing-ui-field-input .landing-ui-button {
	background-color: rgba(168, 173, 180, .25);
	position: relative;
	height: auto;
	border: none;
}

.landing-ui-field-position .landing-ui-field-input .landing-ui-button:hover {
	background-color: #eeeeee;
}

.landing-ui-field-position .landing-ui-field-input .landing-ui-button.landing-ui-active {
	background-color: #ffffff;
}



.landing-ui-field-position .landing-ui-field-input .landing-ui-button::before {
	position: absolute;
	content: '';
	display: none;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border: 2px #2FC6F6 solid;
}

.landing-ui-field-position .landing-ui-field-input .landing-ui-button:nth-child(1)::before {
	border-top-left-radius: 4px;
}

.landing-ui-field-position .landing-ui-field-input .landing-ui-button:nth-child(3)::before {
	border-top-right-radius: 4px;
}

.landing-ui-field-position .landing-ui-field-input .landing-ui-button:nth-child(7)::before {
	border-bottom-left-radius: 4px;
}

.landing-ui-field-position .landing-ui-field-input .landing-ui-button:nth-child(9)::before {
	border-bottom-right-radius: 4px;
}

.landing-ui-field-position .landing-ui-field-input .landing-ui-button.landing-ui-active::before {
	display: block;
}


.landing-ui-field-position-stripes {
	width: 100%;
	margin-top: 9px;
}

.landing-ui-field-position-stripes-item {
	background-color: rgba(168, 173, 180, .29);
	width: 84%;
	height: 4px;
	border-radius: 4px;
	margin-bottom: 5px;
	display: inline-block;
}


.landing-ui-field-position .landing-ui-button::after {
	position: absolute;
	content: '';
	width: 36px;
	height: 16px;
	display: none;
	left: 5px;
	top: 5px;
}

.landing-ui-field-position-mode-ribbon .landing-ui-button::after {
	background: url(/bitrix/images/landing/position-ribbon.svg) left top no-repeat;
}

.landing-ui-field-position-mode-ball .landing-ui-button::after {
	background: url(/bitrix/images/landing/position-ball.svg) left top no-repeat;
	width: 16px;
	height: 16px;
}


.landing-ui-field-position .landing-ui-button:nth-child(2)::after {
	left: 50%;
	transform: translateX(-50%);
}

.landing-ui-field-position .landing-ui-button:nth-child(3)::after {
	right: 5px;
	left: auto;
}

.landing-ui-field-position .landing-ui-button:nth-child(4)::after {
	top: 50%;
	transform: translateY(-50%);
}

.landing-ui-field-position .landing-ui-button:nth-child(5)::after {
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
}

.landing-ui-field-position .landing-ui-button:nth-child(6)::after {
	top: 50%;
	right: 5px;
	left: auto;
	transform: translateY(-50%);
}

.landing-ui-field-position .landing-ui-button:nth-child(7)::after {
	top: auto;
	bottom: 5px;
}

.landing-ui-field-position .landing-ui-button:nth-child(8)::after {
	top: auto;
	bottom: 5px;
	left: 50%;
	transform: translateX(-50%);
}

.landing-ui-field-position .landing-ui-button:nth-child(9)::after {
	top: auto;
	bottom: 5px;
	left: auto;
	right: 5px;
}

.landing-ui-field-position .landing-ui-button.landing-ui-active::after {
	display: block!important;
}